


<div class="content">
   
    <!--*****************  RIGHT  *****************-->
    <div class="columnRight">
        <div class="content">
            <div class="contentCenter">
                <div class="content">
<div class="dmdforms index">
	<h2><?php __('Dmdforms');?></h2>
        <table class="formstatus"><thead>
	<tr>
			<th><?php echo $this->Paginator->sort('id');?></th>
			<th><?php echo $this->Paginator->sort('dmdformtype_id');?></th>
			<th><?php echo $this->Paginator->sort('code');?></th>
			<th><?php echo $this->Paginator->sort('form_date');?></th>
			<th><?php echo $this->Paginator->sort('execution_date');?></th>
			<th><?php echo $this->Paginator->sort('demander_id');?></th>
			<th><?php echo $this->Paginator->sort('user_id');?></th>
			<th><?php echo $this->Paginator->sort('is_new_user');?></th>
			<th><?php echo $this->Paginator->sort('user_name');?></th>
			<th><?php echo $this->Paginator->sort('user_surname');?></th>
			<th><?php echo $this->Paginator->sort('user_status_id');?></th>
			<th><?php echo $this->Paginator->sort('user_contract_begin');?></th>
			<th><?php echo $this->Paginator->sort('user_contract_end');?></th>
			<th><?php echo $this->Paginator->sort('user_hrreferent_id');?></th>
			<th><?php echo $this->Paginator->sort('user_hrreferent_name');?></th>
			<th><?php echo $this->Paginator->sort('user_id_code');?></th>
			<th><?php echo $this->Paginator->sort('user_id_erp');?></th>
			<th><?php echo $this->Paginator->sort('user_id_win');?></th>
			<th><?php echo $this->Paginator->sort('user_id_hr');?></th>
			<th><?php echo $this->Paginator->sort('user_backup_of');?></th>
			<th><?php echo $this->Paginator->sort('user_backup_of_comment');?></th>
			<th><?php echo $this->Paginator->sort('user_replace');?></th>
			<th><?php echo $this->Paginator->sort('user_replace_comment');?></th>
			<th><?php echo $this->Paginator->sort('user_mail');?></th>
			<th><?php echo $this->Paginator->sort('user_jobfunction_id');?></th>
			<th><?php echo $this->Paginator->sort('is_new_jobfunction');?></th>
			<th><?php echo $this->Paginator->sort('user_jobfunction_title');?></th>
			<th><?php echo $this->Paginator->sort('user_jobprofile1_id');?></th>
			<th><?php echo $this->Paginator->sort('user_jobprofile2_id');?></th>
			<th><?php echo $this->Paginator->sort('user_jobprofile3_id');?></th>
			<th><?php echo $this->Paginator->sort('user_workflow_id');?></th>
			<th><?php echo $this->Paginator->sort('user_powerdelegation_id');?></th>
			<th><?php echo $this->Paginator->sort('backup_id');?></th>
			<th><?php echo $this->Paginator->sort('backup_comment');?></th>
			<th><?php echo $this->Paginator->sort('is_new_backup');?></th>
			<th><?php echo $this->Paginator->sort('backup_name');?></th>
			<th><?php echo $this->Paginator->sort('backup_surname');?></th>
			<th><?php echo $this->Paginator->sort('backup_id_code');?></th>
			<th><?php echo $this->Paginator->sort('backup_id_erp');?></th>
			<th><?php echo $this->Paginator->sort('backup_jobfunction_id');?></th>
			<th><?php echo $this->Paginator->sort('is_new_backup_jobfunction');?></th>
			<th><?php echo $this->Paginator->sort('backup_jobfunction_title');?></th>
			<th><?php echo $this->Paginator->sort('backup_jobprofile_ids');?></th>
			<th><?php echo $this->Paginator->sort('backup_jobprofile_titles');?></th>
			<th><?php echo $this->Paginator->sort('backup_created');?></th>
			<th><?php echo $this->Paginator->sort('backup_dmdform');?></th>
			<th><?php echo $this->Paginator->sort('manager_id');?></th>
			<th><?php echo $this->Paginator->sort('manager_comment');?></th>
			<th><?php echo $this->Paginator->sort('is_new_manager');?></th>
			<th><?php echo $this->Paginator->sort('manager_created');?></th>
			<th><?php echo $this->Paginator->sort('manager_dmdform');?></th>
			<th><?php echo $this->Paginator->sort('manager_name');?></th>
			<th><?php echo $this->Paginator->sort('manager_surname');?></th>
			<th><?php echo $this->Paginator->sort('manager_id_code');?></th>
			<th><?php echo $this->Paginator->sort('manager_id_erp');?></th>
			<th><?php echo $this->Paginator->sort('manager_mail');?></th>
			<th><?php echo $this->Paginator->sort('profile_reference_user_id');?></th>
			<th><?php echo $this->Paginator->sort('is_new_profile_reference');?></th>
			<th><?php echo $this->Paginator->sort('profile_reference_name');?></th>
			<th><?php echo $this->Paginator->sort('profile_reference_id');?></th>
			<th><?php echo $this->Paginator->sort('company_id');?></th>
			<th><?php echo $this->Paginator->sort('is_new_company');?></th>
			<th><?php echo $this->Paginator->sort('company_title');?></th>
			<th><?php echo $this->Paginator->sort('company_code');?></th>
			<th><?php echo $this->Paginator->sort('company_site');?></th>
			<th><?php echo $this->Paginator->sort('company_department');?></th>
			<th><?php echo $this->Paginator->sort('company_activity');?></th>
			<th><?php echo $this->Paginator->sort('company_country');?></th>
			<th><?php echo $this->Paginator->sort('closing_date');?></th>
			<th><?php echo $this->Paginator->sort('notes');?></th>
			<th><?php echo $this->Paginator->sort('created');?></th>
			<th><?php echo $this->Paginator->sort('modified');?></th>
			<th><?php echo $this->Paginator->sort('needs_pc');?></th>
			<th><?php echo $this->Paginator->sort('pc_fix');?></th>
			<th><?php echo $this->Paginator->sort('tool_ids');?></th>
			<th><?php echo $this->Paginator->sort('formdata');?></th>
			<th class="actions"><?php __('Actions');?></th>
        </tr></thead><tbody>
	<?php
	$i = 0;
	foreach ($dmdforms as $dmdform):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="pair"';
		}else{$class = ' class="impair"';}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $dmdform['Dmdform']['id']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($dmdform['Dmdformtype']['title'], array('controller' => 'dmdformtypes', 'action' => 'view', $dmdform['Dmdformtype']['id'])); ?>
		</td>
		<td><?php echo $dmdform['Dmdform']['code']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['form_date']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['execution_date']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($dmdform['Demander']['name'], array('controller' => 'demanders', 'action' => 'view', $dmdform['Demander']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($dmdform['User']['name'], array('controller' => 'users', 'action' => 'view', $dmdform['User']['id'])); ?>
		</td>
		<td><?php echo $dmdform['Dmdform']['is_new_user']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['user_name']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['user_surname']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($dmdform['UserStatus']['title'], array('controller' => 'statuses', 'action' => 'view', $dmdform['UserStatus']['id'])); ?>
		</td>
		<td><?php echo $dmdform['Dmdform']['user_contract_begin']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['user_contract_end']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($dmdform['UserHrreferent']['name'], array('controller' => 'users', 'action' => 'view', $dmdform['UserHrreferent']['id'])); ?>
		</td>
		<td><?php echo $dmdform['Dmdform']['user_hrreferent_name']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['user_id_code']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['user_id_erp']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['user_id_win']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['user_id_hr']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['user_backup_of']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['user_backup_of_comment']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['user_replace']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['user_replace_comment']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['user_mail']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($dmdform['Jobfunction']['title'], array('controller' => 'jobfunctions', 'action' => 'view', $dmdform['Jobfunction']['id'])); ?>
		</td>
		<td><?php echo $dmdform['Dmdform']['is_new_jobfunction']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['user_jobfunction_title']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($dmdform['Jobprofile1']['title'], array('controller' => 'jobprofiles', 'action' => 'view', $dmdform['Jobprofile1']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($dmdform['Jobprofile2']['title'], array('controller' => 'jobprofiles', 'action' => 'view', $dmdform['Jobprofile2']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($dmdform['Jobprofile3']['title'], array('controller' => 'jobprofiles', 'action' => 'view', $dmdform['Jobprofile3']['id'])); ?>
		</td>
		<td><?php echo $dmdform['Dmdform']['user_workflow_id']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['user_powerdelegation_id']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($dmdform['Backup']['name'], array('controller' => 'backups', 'action' => 'view', $dmdform['Backup']['id'])); ?>
		</td>
		<td><?php echo $dmdform['Dmdform']['backup_comment']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['is_new_backup']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['backup_name']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['backup_surname']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['backup_id_code']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['backup_id_erp']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['backup_jobfunction_id']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['is_new_backup_jobfunction']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['backup_jobfunction_title']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['backup_jobprofile_ids']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['backup_jobprofile_titles']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['backup_created']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['backup_dmdform']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($dmdform['Manager']['name'], array('controller' => 'managers', 'action' => 'view', $dmdform['Manager']['id'])); ?>
		</td>
		<td><?php echo $dmdform['Dmdform']['manager_comment']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['is_new_manager']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['manager_created']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['manager_dmdform']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['manager_name']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['manager_surname']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['manager_id_code']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['manager_id_erp']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['manager_mail']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['profile_reference_user_id']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['is_new_profile_reference']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['profile_reference_name']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($dmdform['ProfileReference']['name'], array('controller' => 'users', 'action' => 'view', $dmdform['ProfileReference']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($dmdform['Company']['title'], array('controller' => 'companies', 'action' => 'view', $dmdform['Company']['id'])); ?>
		</td>
		<td><?php echo $dmdform['Dmdform']['is_new_company']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['company_title']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['company_code']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['company_site']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['company_department']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['company_activity']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['company_country']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['closing_date']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['notes']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['created']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['modified']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['needs_pc']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['pc_fix']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['tool_ids']; ?>&nbsp;</td>
		<td><?php echo $dmdform['Dmdform']['formdata']; ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View', true), array('action' => 'view', $dmdform['Dmdform']['id']),array('class'=>'details')); ?>
			<?php echo $this->Html->link(__('Edit', true), array('action' => 'edit', $dmdform['Dmdform']['id']),array('class'=>'edit')); ?>
			<?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $dmdform['Dmdform']['id']),array('class'=>'FormDelete'), sprintf(__('Are you sure you want to delete # %s?', true), $dmdform['Dmdform']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</tbody></table>
	<div class="paginate">
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>
	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'prev'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'next'));?>
	</div></div>
</div>
                    
                    
                </div>
            </div>
        </div>
    </div>

 <!--*****************  LEFT  *****************-->
    <div class="columnLeft">
        <div class="content">
            <!--*****************  MENU  *****************-->
            <div class="contentMenu">

                <div class="contentMenuItems">
                    <ul>
                        <li class="contentMenuTitle">Actions</li>
                 	<li><?php echo $this->Html->link(__('New Dmdform', true), array('action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Dmdformtypes', true), array('controller' => 'dmdformtypes', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Dmdformtype', true), array('controller' => 'dmdformtypes', 'action' => 'add')); ?> </li>		
		<li><?php echo $this->Html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Statuses', true), array('controller' => 'statuses', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User Status', true), array('controller' => 'statuses', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Jobprofiles', true), array('controller' => 'jobprofiles', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Jobprofile1', true), array('controller' => 'jobprofiles', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Jobfunctions', true), array('controller' => 'jobfunctions', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Jobfunction', true), array('controller' => 'jobfunctions', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Companies', true), array('controller' => 'companies', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Company', true), array('controller' => 'companies', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Actions', true), array('controller' => 'actions', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Action', true), array('controller' => 'actions', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Formstatuses', true), array('controller' => 'formstatuses', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Formstatus', true), array('controller' => 'formstatuses', 'action' => 'add')); ?> </li>
       
                        <li class="contentMenuBottom"></li>
                    </ul>
                </div>

            </div>
        </div>
    </div>
</div>
<div class="clear"></div>